package com.echo.im.common.contant;

/**
 * Redis常量类
 *
 * @author echo
 * @date 2024-08-18
 */
public final class RedisConstants {


    /**
     * im-server最大id,从0开始递增
     */
    public static final String IM_MAX_SERVER_ID = "im:max_server_id";
    /**
     * 用户ID所连接的IM-server的ID
     */
//    public static final String  IM_USER_SERVER_ID = "im:user:server_id";
    /**
     * 离线消息存储
     */
    public static final String IM_PRIVATE_OFFLINE_STORE = "im:private:handler:store";

    public static final String IM_SYSTEM_OFFLINE_STORE = "im:system:handler:store";

    public static final String REDIS_MSG_ID_GENERATOR_KEY = "echo:msg:id";

    public static final String IM_USER_STATUS_CHANNEL = "im_user_status_channel";

    public static final String IM_USER_STATUS_NAME = "im:user:status";
    /**
     * 缓存是否好友：bool
     */
    public static final String IM_CACHE_FRIEND = "im:cache:friend";
    public static final String GROUP_MESSAGE_ID = "im:group:model:id";
}
